-- GENERATED SPELL FOR [Urok Enforcer] --


function spell0_10601(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(14516,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10601', 579, 1)
end

function Sorts_10601(pUnit, Event)
local choix_sorts_10601 = math.random(0, 0)
if choix_sorts_10601 == 0 then
pUnit:RegisterEvent('spell0_10601', 1, 1)
end
end

function mob10601_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10601', math.random(1500, 3000), 1)
end

function mob10601_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10601_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10601_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10601, 1, 'mob10601_Action')
RegisterUnitEvent(10601, 2, 'mob10601_Leave')
RegisterUnitEvent(10601, 3, 'mob10601_Kill')
RegisterUnitEvent(10601, 4, 'mob10601_Die')
